var menu = [
            {
            "label": "Window Size",
            "i18nKey": "GraphEdit_WindowSize",
            "checked": true,
            "type": "checkbox",
            "submenu": [
                        {
                        "label": "Tiny",
                        "i18nKey": "GraphEdit_Tiny",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-0"
                        },
                        {
                        "label": "Small",
                        "i18nKey": "GraphEdit_Small",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-1"
                        },
                        {
                        "label": "Normal",
                        "i18nKey": "GraphEdit_Normal",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-2"
                        },
                        {
                        "label": "Large",
                        "i18nKey": "GraphEdit_Large",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-3"
                        },
                        {
                        "label": "Extra Large",
                        "i18nKey": "GraphEdit_Extra Large",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-4"
                        },
                        {
                        "label": "Huge",
                        "i18nKey": "GraphEdit_Huge",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-5"
                        }
                        ]
            },
            {
            "label": "Window Size (Legacy)",
            "submenu": [
                        {
                        "label": "# Horizontally",
                        "enabled": false
                        },
                        {
                        "type": "separator"
                        },
                        {
                        "label": "1",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size1-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-6"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size1-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-7"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size1-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-8"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size1-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-9"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size1-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-10"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size1-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-11"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size1-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-12"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size1-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-13"
                                    }
                                    ]
                        },
                        {
                        "label": "2",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size2-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-14"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size2-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-15"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size2-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-16"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size2-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-17"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size2-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-18"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size2-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-19"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size2-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-20"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size2-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-21"
                                    }
                                    ]
                        },
                        {
                        "label": "3",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size3-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-22"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size3-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-23"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size3-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-24"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size3-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-25"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size3-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-26"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size3-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-27"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size3-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-28"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size3-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-29"
                                    }
                                    ]
                        },
                        {
                        "label": "4",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size4-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-30"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size4-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-31"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size4-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-32"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size4-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-33"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size4-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-34"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size4-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-35"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size4-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-36"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size4-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-37"
                                    }
                                    ]
                        },
                        {
                        "label": "5",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size5-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-38"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size5-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-39"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size5-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-40"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size5-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-41"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size5-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-42"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size5-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-43"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size5-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-44"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size5-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-45"
                                    }
                                    ]
                        },
                        {
                        "label": "6",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size6-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-46"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size6-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-47"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size6-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-48"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size6-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-49"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size6-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-50"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size6-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-51"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size6-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-52"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size6-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-53"
                                    }
                                    ]
                        },
                        {
                        "label": "7",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size7-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-54"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size7-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-55"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size7-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-56"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size7-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-57"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size7-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-58"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size7-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-59"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size7-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-60"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size7-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-61"
                                    }
                                    ]
                        },
                        {
                        "label": "8",
                        "submenu": [
                                    {
                                    "label": "# Vertically",
                                    "enabled": false
                                    },
                                    {
                                    "type": "separator"
                                    },
                                    {
                                    "label": "1",
                                    "id": "size8-1",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-62"
                                    },
                                    {
                                    "label": "2",
                                    "id": "size8-2",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-63"
                                    },
                                    {
                                    "label": "3",
                                    "id": "size8-3",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-64"
                                    },
                                    {
                                    "label": "4",
                                    "id": "size8-4",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-65"
                                    },
                                    {
                                    "label": "5",
                                    "id": "size8-5",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-66"
                                    },
                                    {
                                    "label": "6",
                                    "id": "size8-6",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-67"
                                    },
                                    {
                                    "label": "7",
                                    "id": "size8-7",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-68"
                                    },
                                    {
                                    "label": "8",
                                    "id": "size8-8",
                                    "type": "checkbox",
                                    "eventId": "1542874986084-69"
                                    }
                                    ]
                        }
                        ]
            },
            {
            "label": "Font Size",
            "i18nKey": "GraphEdit_FontSize",
            "submenu": [
                        {
                        "label": "Current: 10",
                        "i18nKey": "GraphEdit_CurrentFont10",
                        "i18nArgs": [
                                     10
                                     ],
                        "enabled": false
                        },
                        {
                        "type": "separator"
                        },
                        {
                        "label": "5",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-70"
                        },
                        {
                        "label": "6",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-71"
                        },
                        {
                        "label": "7",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-72"
                        },
                        {
                        "label": "8",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-73"
                        },
                        {
                        "label": "9",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-74"
                        },
                        {
                        "label": "10",
                        "type": "checkbox",
                        "enabled": false,
                        "eventId": "1542874986084-75"
                        },
                        {
                        "label": "11",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-76"
                        },
                        {
                        "label": "12",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-77"
                        },
                        {
                        "label": "13",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-78"
                        },
                        {
                        "label": "14",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-79"
                        },
                        {
                        "label": "15",
                        "type": "checkbox",
                        "enabled": true,
                        "eventId": "1542874986084-80"
                        }
                        ]
            },
            {
            "label": "Axis",
            "i18nKey": "GraphEdit_Axis",
            "submenu": [
                        {
                        "label": "Axis Type",
                        "enabled": true,
                        "i18nKey": "GraphEdit_AxisType",
                        "submenu": [
                                    {
                                    "label": "Shared Axis",
                                    "i18nKey": "GraphEdit_SharedAxis",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-81"
                                    },
                                    {
                                    "label": "Own Axis",
                                    "i18nKey": "GraphEdit_OwnAxis",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-82"
                                    },
                                    {
                                    "label": "Intelligent Axis",
                                    "i18nKey": "GraphEdit_IntelligentAxis",
                                    "type": "checkbox",
                                    "checked": true,
                                    "eventId": "1542874986084-83"
                                    }
                                    ]
                        },
                        {
                        "label": "Recalculate %tile",
                        "i18nKey": "GraphEdit_RecalculatePercentile",
                        "enabled": true,
                        "submenu": [
                                    {
                                    "label": "Extend Ratio",
                                    "i18nKey": "GraphEdit_ExtendRatio",
                                    "enabled": true,
                                    "submenu": [
                                                {
                                                "label": "10%",
                                                "i18nKey": "GraphEdit_10p",
                                                "type": "checkbox",
                                                "checked": true,
                                                "eventId": "1542874986084-84"
                                                },
                                                {
                                                "label": "20%",
                                                "i18nKey": "GraphEdit_20p",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-85"
                                                },
                                                {
                                                "label": "30%",
                                                "i18nKey": "GraphEdit_30p",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-86"
                                                },
                                                {
                                                "label": "40%",
                                                "i18nKey": "GraphEdit_40p",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-87"
                                                }
                                                ]
                                    },
                                    {
                                    "label": "70%",
                                    "i18nKey": "GraphEdit_70p",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-88"
                                    },
                                    {
                                    "label": "75%",
                                    "i18nKey": "GraphEdit_75p",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-89"
                                    },
                                    {
                                    "label": "80%",
                                    "i18nKey": "GraphEdit_80p",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-90"
                                    },
                                    {
                                    "label": "85%",
                                    "i18nKey": "GraphEdit_85p",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-91"
                                    },
                                    {
                                    "label": "90%",
                                    "i18nKey": "GraphEdit_90p",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-92"
                                    },
                                    {
                                    "label": "95%",
                                    "i18nKey": "GraphEdit_95p",
                                    "type": "checkbox",
                                    "checked": true,
                                    "eventId": "1542874986084-93"
                                    },
                                    {
                                    "label": "100%",
                                    "i18nKey": "GraphEdit_100p",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-94"
                                    }
                                    ]
                        },
                        {
                        "label": "Reset YAxis",
                        "i18nKey": "GraphEdit_ResetYAxis",
                        "enabled": true,
                        "eventId": "1542874986084-95"
                        }
                        ]
            },
            {
            "label": "Refresh",
            "i18nKey": "GraphEdit_Refresh",
            "eventId": "1542874986084-96"
            },
            {
            "type": "separator"
            },
            {
            "label": "Rolling Window",
            "i18nKey": "GraphEdit_RollingWindow",
            "enabled": false
            },
            {
            "label": "Full",
            "i18nKey": "GraphEdit_All",
            "id": "0",
            "checked": false,
            "type": "checkbox",
            "eventId": "1542874986084-97"
            },
            {
            "label": "Minute",
            "i18nKey": "GraphEdit_Minute",
            "submenu": [
                        {
                        "label": "1 Minute",
                        "i18nKey": "GraphEdit_1Minute",
                        "id": "1",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-98"
                        },
                        {
                        "label": "5 Minutes",
                        "i18nKey": "GraphEdit_5Minutes",
                        "id": "2",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-99"
                        },
                        {
                        "label": "10 Minutes",
                        "i18nKey": "GraphEdit_10Minutes",
                        "id": "3",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-100"
                        },
                        {
                        "label": "15 Minutes",
                        "i18nKey": "GraphEdit_15Minutes",
                        "id": "4",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-101"
                        },
                        {
                        "label": "30 Minutes",
                        "i18nKey": "GraphEdit_30Minutes",
                        "id": "5",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-102"
                        },
                        {
                        "label": "45 Minutes",
                        "i18nKey": "GraphEdit_45Minutes",
                        "id": "6",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-103"
                        }
                        ]
            },
            {
            "label": "Hour",
            "i18nKey": "GraphEdit_Hour",
            "submenu": [
                        {
                        "label": "1 Hour",
                        "i18nKey": "GraphEdit_1Hour",
                        "id": "7",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-104"
                        },
                        {
                        "label": "2 Hours",
                        "i18nKey": "GraphEdit_2Hours",
                        "id": "8",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-105"
                        },
                        {
                        "label": "3 Hours",
                        "i18nKey": "GraphEdit_3Hours",
                        "id": "9",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-106"
                        },
                        {
                        "label": "4 Hours",
                        "i18nKey": "GraphEdit_4Hours",
                        "id": "10",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-107"
                        },
                        {
                        "label": "5 Hours",
                        "i18nKey": "GraphEdit_5Hours",
                        "id": "11",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-108"
                        },
                        {
                        "label": "6 Hours",
                        "i18nKey": "GraphEdit_6Hours",
                        "id": "12",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-109"
                        },
                        {
                        "label": "12 Hours",
                        "i18nKey": "GraphEdit_12Hours",
                        "id": "13",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-110"
                        }
                        ]
            },
            {
            "label": "Day",
            "i18nKey": "GraphEdit_Day",
            "submenu": [
                        {
                        "label": "1 Day",
                        "i18nKey": "GraphEdit_1Day",
                        "id": "14",
                        "checked": true,
                        "type": "checkbox",
                        "eventId": "1542874986084-111"
                        },
                        {
                        "label": "2 Days",
                        "i18nKey": "GraphEdit_2Days",
                        "id": "15",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-112"
                        },
                        {
                        "label": "3 Days",
                        "i18nKey": "GraphEdit_3Days",
                        "id": "16",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-113"
                        },
                        {
                        "label": "4 Days",
                        "i18nKey": "GraphEdit_4Days",
                        "id": "17",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-114"
                        },
                        {
                        "label": "5 Days",
                        "i18nKey": "GraphEdit_5Days",
                        "id": "18",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-115"
                        },
                        {
                        "label": "6 Days",
                        "i18nKey": "GraphEdit_6Days",
                        "id": "19",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-116"
                        },
                        {
                        "label": "7 Days",
                        "i18nKey": "GraphEdit_7Days",
                        "id": "20",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-117"
                        }
                        ]
            },
            {
            "label": "Business day",
            "i18nKey": "GraphEdit_BusinessDay",
            "submenu": [
                        {
                        "label": "1 Business day",
                        "i18nKey": "GraphEdit_1BusinessDay",
                        "id": "21",
                        "checked": true,
                        "type": "checkbox",
                        "eventId": "1542874986084-118"
                        },
                        {
                        "label": "2 Business days",
                        "i18nKey": "GraphEdit_2BusinessDays",
                        "id": "22",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-119"
                        },
                        {
                        "label": "3 Business days",
                        "i18nKey": "GraphEdit_3BusinessDays",
                        "id": "23",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-120"
                        },
                        {
                        "label": "4 Business days",
                        "i18nKey": "GraphEdit_4BusinessDays",
                        "id": "24",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-121"
                        },
                        {
                        "label": "5 Business days",
                        "i18nKey": "GraphEdit_5BusinessDays",
                        "id": "25",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-122"
                        },
                        {
                        "label": "6 Business days",
                        "i18nKey": "GraphEdit_6BusinessDays",
                        "id": "26",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-123"
                        },
                        {
                        "label": "7 Business days",
                        "i18nKey": "GraphEdit_7BusinessDays",
                        "id": "27",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-124"
                        },
                        {
                        "label": "8 Business days",
                        "i18nKey": "GraphEdit_8BusinessDays",
                        "id": "28",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-125"
                        },
                        {
                        "label": "9 Business days",
                        "i18nKey": "GraphEdit_9BusinessDays",
                        "id": "29",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-126"
                        },
                        {
                        "label": "10 Business days",
                        "i18nKey": "GraphEdit_10BusinessDays",
                        "id": "30",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-127"
                        }
                        ]
            },
            {
            "label": "Week",
            "checked": true,
            "type":"checkbox",
            "i18nKey": "GraphEdit_Week",
            "submenu": [
                        {
                        "label": "1 Week",
                        "i18nKey": "GraphEdit_1Week",
                        "id": "31",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-128"
                        },
                        {
                        "label": "2 Weeks",
                        "i18nKey": "GraphEdit_2Weeks",
                        "id": "32",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-129"
                        },
                        {
                        "label": "3 Weeks",
                        "i18nKey": "GraphEdit_3Weeks",
                        "id": "33",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-130"
                        },
                        {
                        "label": "4 Weeks",
                        "i18nKey": "GraphEdit_4Weeks",
                        "id": "34",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-131"
                        }
                        ]
            },
            {
            "label": "Month",
            "i18nKey": "GraphEdit_Month",
            "submenu": [
                        {
                        "label": "1 Month",
                        "i18nKey": "GraphEdit_1Month",
                        "id": "35",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-132"
                        },
                        {
                        "label": "2 Months",
                        "i18nKey": "GraphEdit_2Months",
                        "id": "36",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-133"
                        },
                        {
                        "label": "3 Months",
                        "i18nKey": "GraphEdit_3Months",
                        "id": "37",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-134"
                        },
                        {
                        "label": "4 Months",
                        "i18nKey": "GraphEdit_4Months",
                        "id": "38",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-135"
                        },
                        {
                        "label": "5 Months",
                        "i18nKey": "GraphEdit_5Months",
                        "id": "39",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-136"
                        },
                        {
                        "label": "6 Months",
                        "i18nKey": "GraphEdit_6Months",
                        "id": "40",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-137"
                        }
                        ]
            },
            {
            "label": "Year",
            "i18nKey": "GraphEdit_Year",
            "submenu": [
                        {
                        "label": "1 Year",
                        "i18nKey": "GraphEdit_1Year",
                        "id": "41",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-138"
                        },
                        {
                        "label": "2 Years",
                        "i18nKey": "GraphEdit_2Years",
                        "id": "42",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-139"
                        },
                        {
                        "label": "5 Years",
                        "i18nKey": "GraphEdit_5Years",
                        "id": "43",
                        "checked": false,
                        "type": "checkbox",
                        "eventId": "1542874986084-140"
                        }
                        ]
            },
            {
            "type": "separator"
            },
            {
            "label": "Series",
            "i18nKey": "GraphEdit_Series",
            "enabled": true,
            "submenu": [
                        {
                        "label": "All",
                        "i18nKey": "GraphEdit_All",
                        "submenu": [
                                    {
                                    "label": "Step",
                                    "i18nKey": "GraphEdit_Step",
                                    "type": "checkbox",
                                    "checked": true,
                                    "eventId": "1542874986084-141"
                                    }
                                    ]
                        },
                        {
                        "type": "separator"
                        },
                        {
                        "label": "f2.c1.p()",
                        "submenu": [
                                    {
                                    "label": "LineWidth",
                                    "i18nKey": "GraphEdit_Width",
                                    "enabled": true,
                                    "submenu": [
                                                {
                                                "label": "+",
                                                "type": "normal",
                                                "eventId": "1542874986084-142"
                                                },
                                                {
                                                "label": "-",
                                                "type": "normal",
                                                "eventId": "1542874986084-143"
                                                }
                                                ]
                                    },
                                    {
                                    "label": "DashStyle",
                                    "i18nKey": "GraphEdit_Dash",
                                    "enabled": true,
                                    "submenu": [
                                                {
                                                "label": "Solid",
                                                "i18nKey": "GraphEdit_Dash_Solid",
                                                "type": "checkbox",
                                                "checked": true,
                                                "eventId": "1542874986084-144"
                                                },
                                                {
                                                "label": "ShortDash",
                                                "i18nKey": "GraphEdit_Dash_ShortDash",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-145"
                                                },
                                                {
                                                "label": "ShortDot",
                                                "i18nKey": "GraphEdit_Dash_ShortDot",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-146"
                                                },
                                                {
                                                "label": "ShortDashDot",
                                                "i18nKey": "GraphEdit_Dash_ShortDashDot",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-147"
                                                },
                                                {
                                                "label": "ShortDashDotDot",
                                                "i18nKey": "GraphEdit_Dash_ShortDashDotDot",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-148"
                                                },
                                                {
                                                "label": "Dot",
                                                "i18nKey": "GraphEdit_Dash_Dot",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-149"
                                                },
                                                {
                                                "label": "Dash",
                                                "i18nKey": "GraphEdit_Dash_Dash",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-150"
                                                },
                                                {
                                                "label": "LongDash",
                                                "i18nKey": "GraphEdit_Dash_LongDash",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-151"
                                                },
                                                {
                                                "label": "DashDot",
                                                "i18nKey": "GraphEdit_Dash_DashDot",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-152"
                                                },
                                                {
                                                "label": "LongDashDot",
                                                "i18nKey": "GraphEdit_Dash_LongDashDot",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-153"
                                                },
                                                {
                                                "label": "LongDashDotDot",
                                                "i18nKey": "GraphEdit_Dash_LongDashDotDot",
                                                "type": "checkbox",
                                                "checked": false,
                                                "eventId": "1542874986084-154"
                                                }
                                                ]
                                    },
                                    {
                                    "label": "Step",
                                    "i18nKey": "GraphEdit_Step",
                                    "type": "checkbox",
                                    "checked": true,
                                    "eventId": "1542874986084-155"
                                    },
                                    {
                                    "label": "Hide",
                                    "i18nKey": "GraphEdit_SeriesHide",
                                    "type": "normal",
                                    "eventId": "1542874986084-156"
                                    }
                                    ]
                        }
                        ]
            },
            {
            "type": "separator"
            },
            {
            "label": "OHLC",
            "i18nKey": "GraphEdit_OHLC",
            "enabled": true,
            "submenu": [
                        {
                        "label": "Start",
                        "i18nKey": "Start",
                        "enabled": true,
                        "submenu": [
                                    {
                                    "label": "Disabled",
                                    "i18nKey": "Disabled",
                                    "type": "checkbox",
                                    "checked": true,
                                    "eventId": "1542874986084-157"
                                    },
                                    {
                                    "label": "5 Days",
                                    "i18nKey": "GraphEdit_5Days",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-158"
                                    },
                                    {
                                    "label": "10 Days",
                                    "i18nKey": "GraphEdit_10Days",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-159"
                                    },
                                    {
                                    "label": "1 Month",
                                    "i18nKey": "GraphEdit_1Month",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-160"
                                    },
                                    {
                                    "label": "2 Months",
                                    "i18nKey": "GraphEdit_2Months",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-161"
                                    },
                                    {
                                    "label": "6 Months",
                                    "i18nKey": "GraphEdit_6Months",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-162"
                                    }
                                    ]
                        },
                        {
                        "label": "OHLC Period",
                        "i18nKey": "GraphEdit_OHLCPeriod",
                        "enabled": false,
                        "submenu": [
                                    {
                                    "label": "1 Hour",
                                    "i18nKey": "GraphEdit_1Hour",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-163"
                                    },
                                    {
                                    "label": "1 Day",
                                    "i18nKey": "GraphEdit_1Day",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-164"
                                    },
                                    {
                                    "label": "1 Month",
                                    "i18nKey": "GraphEdit_1Month",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-165"
                                    }
                                    ]
                        },
                        {
                        "label": "Series Type",
                        "i18nKey": "GraphEdit_SeriesType",
                        "enabled": false,
                        "submenu": [
                                    {
                                    "label": "OHLC",
                                    "i18nKey": "GraphEdit_OHLC",
                                    "type": "checkbox",
                                    "checked": true,
                                    "eventId": "1542874986084-166"
                                    },
                                    {
                                    "label": "Candlestick",
                                    "i18nKey": "GraphEdit_Candlestick",
                                    "type": "checkbox",
                                    "checked": false,
                                    "eventId": "1542874986084-167"
                                    }
                                    ]
                        },
                        {
                        "label": "Relaxed Grouping",
                        "i18nKey": "GraphEdit_RelaxedGrouping",
                        "enabled": false,
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-168"
                        }
                        ]
            },
            {
            "type": "separator"
            },
            {
            "label": "Business Hours",
            "i18nKey": "GraphEdit_BusinessHours",
            "enabled": true,
            "submenu": [
                        {
                        "label": "6:30-23:00",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-169"
                        },
                        {
                        "label": "8:00-18:00",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-170"
                        },
                        {
                        "label": "7:00-11:45,13:30-18:00",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-171"
                        },
                        {
                        "label": "7:30-11:30,13:00-15:16",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-172"
                        },
                        {
                        "label": "8:00-12:00,13:00-18:00",
                        "type": "checkbox",
                        "checked": true,
                        "eventId": "1542874986084-173"
                        },
                        {
                        "label": "9:00-11:45,13:00-15:33",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-174"
                        },
                        {
                        "label": "9:00-12:00,13:00-17:00",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-175"
                        },
                        {
                        "label": "9:00-12:00,13:00-17:30",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-176"
                        },
                        {
                        "label": "9:14-11:30,13:00-15:15",
                        "type": "checkbox",
                        "checked": false,
                        "eventId": "1542874986084-177"
                        }
                        ]
            },
            {
            "type": "separator"
            },
            {
            "label": "Export CSV",
            "i18nKey": "GraphEdit_ExportCsv",
            "eventId": "1542874986084-178"
            },
            {
            "type": "separator"
            },
            {
            "label": "Close",
            "i18nKey": "GraphEdit_CloseGraph",
            "role": "close"
            }
            ];
